package com.demo2do.boyle.common.entity.customer.message;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("customer-message-type")
public enum Type {
	
	SYSTEM("系统消息", "system"),
	
	TASK("任务消息", "task"),
	
	WITHDRAWAL("取现消息", "withdrawal");

	private String description;
	
	private String alias;
	
	/**
	 * 
	 * @param description
	 * @param alias
	 */
	private Type(String description, String alias) {
		this.description = description;
		this.alias= alias;
	}
	
	/**
	 * 
	 * @return
	 */
	public String getDescription() {
		return description;
	}
	
	/**
	 * 
	 * @return
	 */
	public String getAlias() {
		return alias;
	}
}
